package com.proton.carepatchtemp.database.Bean;

import android.bluetooth.BluetoothGatt;

/**
 * Created by MoonlightSW on 2017/2/28.
 */

public class BleWriteData {
    public static final int CHAR_READ = 1;
    public static final int CHAR_WRITE = 2;
    public static final int DESCRIP_WRITE = 3;
    public int writeType = 0;
    public BluetoothGatt gatt;
    public Object object;
    public byte[] writeData; // 设置的数据

    public BleWriteData(BluetoothGatt gatt, Object object, int writeType) {
        this.gatt = gatt;
        this.object = object;
        this.writeType = writeType;
    }

    public BleWriteData(Object object, int writeType) {
        this.object = object;
        this.writeType = writeType;
    }

}
